


// export default [
    
//     { //分销首页
//         path: `/`, 
        
//         component: () => import(/* webpackChunkName: "index" */ '../index.vue')
//     },
//     { //更多
//         path: `/more`,
//         meta: {
            
//         },
//         component: () => import(/* webpackChunkName: "index" */ '../views/MoreGoods.vue')
//     },
//         {
//         path: '/index',
//         component: () => import('../pages/Home.vue'),
//         meta: {
//             auth: true
//         },
//         name: 'Home'
//     }, //首页
//     // { //更多
//     //     path: `/map`,
//     //     meta: {
            
//     //     },
//     //     component: () => import(/* webpackChunkName: "index" */ '../components/HelloWorld.vue')
//     // },
//     {
//         path:'/:id',
//         component: () => import(/* webpackChunkName: "index" */ '../views/404.vue')
//     }
// ]





export default [

    { //分销首页
        path: `/`,

        component: () => import(/* webpackChunkName: "index" */ '../index.vue')
    },
    { //更多
        path: `/login`,
        meta: {

        },
        component: () => import(/* webpackChunkName: "index" */ '../views/MoreGoods.vue')
    },
    // { //更多
    //     path: `/map`,
    //     meta: {

    //     },
    //     component: () => import(/* webpackChunkName: "index" */ '../components/HelloWorld.vue')
    // },

    {
        path: '/Home',
        component: () => import(/* webpackChunkName: "Home" */ '../pages/Home.vue'),
        meta: {
            auth: true
        },
        name: 'Home'
    }, //首页
    {
        path: '/Share',
        component: () => import('../pages/Share.vue'),
        meta: {
            auth: true
        },
        name: 'Share'
    }, //分类
    {
        path: '/DetailShare',
        component: () => import('../pages/DetailShare.vue'),
        meta: {
            auth: true
        },
        name: 'DetailShare'
    }, //分享详情
    {
        path: '/Reward',
        component: () => import('../pages/Reward.vue'),
        meta: {
            auth: true
        },
        name: 'Reward'
    }, //赞赏
    {
        path: '/FriendsLink',
        component: () => import('../pages/FriendsLink.vue'),
        meta: {
            auth: true
        },
        name: 'FriendsLink'
    }, //伙伴
    {
        path: '/Message',
        component: () => import('../pages/Message.vue'),
        meta: {
            auth: true
        },
        name: 'Message'
    }, //留言板
    {
        path: '/Aboutme',
        component: () => import('../pages/Aboutme.vue'),
        meta: {
            auth: true
        },
        name: 'Aboutme'
    }, //关于
    // {
    //     path: '/Login',
    //     component: () => import(['../pages/Login.vue'], resolve),
    //     meta: {
    //         auth: false
    //     },
    //     name: 'Login'
    // }, //注册登录
    {
        path: '/UserInfo',
        component: () => import('../pages/UserInfo.vue'),
        meta: {
            auth: true
        },
        name: 'UserInfo'
    }, //用户个人中心
    {
        path: '/LikeCollect',
        component: () => import('../pages/LikeCollect.vue'),
        meta: {
            auth: true
        },
        name: 'LikeCollect'
    },
    {
        path: '/:id',
        component: () => import(/* webpackChunkName: "index" */ '../views/404.vue')
    },
]